const isProduction = process.env.NODE_ENV === 'production';

export const DEPLOY_CONFIG = {
  MAIN_APP_PATH: isProduction ? '/projects/main-app/dist' : '/',
  MICRO_APP_PATH: isProduction ? '/projects/micro-app/dist' : '/',
  MICRO_APP1_PATH: isProduction ? '/projects/micro-app-1/dist' : '/',
  MICRO_APP_URL: isProduction ? '/projects/micro-app/dist/remoteEntry.js' : 'http://localhost:3001/remoteEntry.js',
  MICRO_APP1_URL: isProduction ? '/projects/micro-app-1/dist/remoteEntry.js' : 'http://localhost:3002/remoteEntry.js',
};

export { isProduction };